package lab13;

public class Eagle extends Bird {

	public Eagle() {
		super();
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Eagle [wingSpan=" + getWingSpan() + ", name="
				+ getName() + ", age=" + getAge() + ", weight="
				+ getWeight() + ", isDangerous=" + isDangerous()
				+ "]";
	}

	@Override
	public void fly() {
		super.fly();
		System.out.println(getName() + " looking for prey.");
		eat();
	}
	
	public Eagle(String name, int age, double weight, boolean isDangerous,
			int wingSpan) {
		super(name, age, weight, isDangerous, wingSpan);
	}

	public Eagle(String name) {
		super(name);
	}
	
}
